package scheme
Import Path
github.com/K-Phoen/grabana/scheme (on go.dev)
Dependency Relation
imports one package, and imported by 3 packages
Involved Source Files
scheme.go
Package-Level Type Names (total 4)
func BluePurple(colorBy ColorMode) Option
func BlueYellowRed(colorBy ColorMode) Option
func GreenYellowRed(colorBy ColorMode) Option
func RedYellowGreen(colorBy ColorMode) Option
func ThresholdsValue(colorBy ColorMode) Option
func YellowBlue(colorBy ColorMode) Option
func YellowRed(colorBy ColorMode) Option
const Last
const Max
const Min
Option represents an option that can be used to configure an axis.
func BluePurple(colorBy ColorMode) Option
func BlueYellowRed(colorBy ColorMode) Option
func ClassicPalette() Option
func GreenYellowRed(colorBy ColorMode) Option
func RedYellowGreen(colorBy ColorMode) Option
func SingleColor(color string) Option
func ThresholdsValue(colorBy ColorMode) Option
func YellowBlue(colorBy ColorMode) Option
func YellowRed(colorBy ColorMode) Option
func New(fieldConfig *sdk.FieldConfig, options ...Option) *Scheme
func github.com/K-Phoen/grabana/gauge.ColorScheme(options ...Option) gauge.Option
func github.com/K-Phoen/grabana/stat.ColorScheme(options ...Option) stat.Option
func github.com/K-Phoen/grabana/timeseries.ColorScheme(options ...Option) timeseries.Option
Scheme represents a color scheme.
func New(fieldConfig *sdk.FieldConfig, options ...Option) *Scheme
Package-Level Functions (total 10)
BluePurple uses the blue-purple color scheme.
BlueYellowRed uses the blue-yellow-red color scheme.
ClassicPalette uses the classic palette color scheme.
GreenYellowRed uses the green-yellow-red color scheme.
New creates a new Scheme configuration.
RedYellowGreen uses the red-yellow-green color scheme.
SingleColor defines the color scheme with a single color.
ThresholdsValue uses the thresholds colors.
YellowBlue uses the yellow-blue color scheme.
YellowRed uses the yellow-red color scheme.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |